WHILE condition statements END Executes the statements while the condition is true (nonzero), or until command-period is pressed, or a LEAVE statement is executed. UPDATE left, top, right, bottom Updates the specified area. After a PF key, the entire window is automatically updated, so this statement is usually used for in-the-loop updating. Displays the cursor. SETPIXEL x, y Sets the specified pixel to the current color. SELECT x, y Adds the point to the select region. Sets the drawing environment to draw on-screen only. SAVE left, top, right, bottom Saves a portion of the off-screen area into the Undo buffer. RGB red, green, blue Sets the current draw color RECT left, top, right, bottom Draws a filled rectangle in the current mode and color. PENROUND width Sets the pen to oval in shape. PEN height, width Sets the pen to rectangular. OVAL left, top, right, bottom Draws a filled oval in the current mode and color. Sets the drawing environment to draw off-screen only. MODE n Sets the current draw mode. LOADOLDCOLOR x, y Loads the color of the Undo buffer's pixel (x,y) as the current draw color. LOADCOLOR x, y Loads the color of offscreen pixel (x,y) as the current draw color. LINE from_x, from_y, to_x, to_y Draws a line in the current pen, mode, and color. LIGHTING angle Specifies the current angle to the light source from the current pixel, as if the pixel represented a part of a surface. An angle of 0 represents normal light, and an angle of π/2 represents parellel light. Leaves a loop by jumping to the first statement outside the loop. IF condition statements [ELSE statements] END Conditional execution. No parenthesis are required. Hides the cursor. FRAMERECT left, top, right, bottom Frames a rectangle in the current pen, mode, and color. FRAMEOVAL left, top, right, bottom Frames an oval in the current pen, mode, and color. Used at the end of a block of statements. See IF, WHILE, and FOR. Used within an IF statement. Stops execution of the PF-key program. Sets the select area to an empty region. Sets the drawing environment to draw on-screen and off-screen. Sounds the system beep.